//
//  DynamicCellContentView.h
//  fitness-iOS
//
//  Created by 卢仕彤 on 2018/1/14.
//  Copyright © 2018年 卢仕彤. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "DynamicDetailModel.h"

@protocol DynamicCellContentViewDelegae<NSObject>
/*
 *@brief:选中collectionView的某个cell时响应
 */
-(void)ff_showDidSelectItem:(DynamicDetailModel *)model mainName:(NSString *)mainName;
@end

@interface DynamicCellContentView : UIView


/*
 *@brief:collectionView的数据源
 */
@property (nonatomic, copy) NSArray<DynamicDetailModel *> *modelArray;
/*
 *@brief:collectionView主题名称
 */
@property (nonatomic, copy) NSString *mainName;
@property (nonatomic, weak) id<DynamicCellContentViewDelegae> delegate;
@property (nonatomic, assign,getter=isScrollLeft)BOOL scrollLeft;//是否滚动到试图最左边
@property (nonatomic,assign)CGFloat cellSpace;                       //cell的间距,默认15

@end



